package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 供应商信息对象 t_supplier
 * 
 * @author ruoyi
 * @date 2024-05-22
 */
public class TSupplier extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 供应商主键 */
    private Long supplierId;

    /** 供应商编号 */
    @Excel(name = "供应商编号")
    private String supplierNo;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplierName;

    /** 供应商简介 */
    @Excel(name = "供应商简介")
    private String supplierDesc;

    /** 供应商用户主键 */
    @Excel(name = "供应商用户主键")
    private Long userId;

    /** 电话 */
    @Excel(name = "电话")
    private String telephone;

    /** 邮编 */
    @Excel(name = "邮编")
    private String zip;

    /** 供应商地址 */
    @Excel(name = "供应商地址")
    private String addr;

    public void setSupplierId(Long supplierId) 
    {
        this.supplierId = supplierId;
    }

    public Long getSupplierId() 
    {
        return supplierId;
    }
    public void setSupplierNo(String supplierNo) 
    {
        this.supplierNo = supplierNo;
    }

    public String getSupplierNo() 
    {
        return supplierNo;
    }
    public void setSupplierName(String supplierName) 
    {
        this.supplierName = supplierName;
    }

    public String getSupplierName() 
    {
        return supplierName;
    }
    public void setSupplierDesc(String supplierDesc) 
    {
        this.supplierDesc = supplierDesc;
    }

    public String getSupplierDesc() 
    {
        return supplierDesc;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setTelephone(String telephone) 
    {
        this.telephone = telephone;
    }

    public String getTelephone() 
    {
        return telephone;
    }
    public void setZip(String zip) 
    {
        this.zip = zip;
    }

    public String getZip() 
    {
        return zip;
    }
    public void setAddr(String addr) 
    {
        this.addr = addr;
    }

    public String getAddr() 
    {
        return addr;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("supplierId", getSupplierId())
            .append("supplierNo", getSupplierNo())
            .append("supplierName", getSupplierName())
            .append("supplierDesc", getSupplierDesc())
            .append("userId", getUserId())
            .append("telephone", getTelephone())
            .append("zip", getZip())
            .append("addr", getAddr())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
